package com.example.service.dingdanServiceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.domain.dingdan;
import com.example.mapper.dingdan.dingdanQuery;
import com.example.service.dingdan.dingdanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class dingdanServiceImpl extends ServiceImpl<dingdanQuery, dingdan> implements dingdanService{
   @Resource
    private dingdanQuery dingdanQuery;




    @Override
    public List<dingdan> findDingdan(String user_openid) {
        return dingdanQuery.findDd(user_openid);
    }

    @Override
    public List<dingdan> findLease(String user_openid) {
        return dingdanQuery.findlease(user_openid);
    }
}
